<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-reverse-engineering 
  SYSTEM "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" >
<hibernate-reverse-engineering>
<#include "../auxftl/propertyutils.ftl">
<#foreach entity in c2j.getPOJOIterator(cfg.classMappings)>
<#assign clazz = entity.getDecoratedObject()>
  <table name="${clazz.table.quotedName}"<#if clazz.table.schema?exists> schema="${clazz.table.quotedSchema}"</#if><#if clazz.table.catalog?exists> catalog="${clazz.table.catalog}"</#if> class="${c2h.getClassName(clazz)}">
<#foreach property in clazz.getUnjoinedPropertyIterator()>
<#foreach column in property.columnIterator>
  <column name="${column.quotedName}" type="${property.type.name}" property="${property.name}" exclude="false" />
</#foreach>
</#foreach>
  </table>
</#foreach>
</hibernate-reverse-engineering>
